home *** CD-ROM | disk | FTP | other *** search
- PC/Computing September 1991 COUNT.DOC
- Ronny Richardson Page 258
-
- Batch Files that Count
- ----------------------
-
- Use this counting routine in batch files to perform routine tasks,
- such as backups, that you want to execute at regular intervals.
- Used in your AUTOEXEC.BAT filfe, you can automatically run the
- CHKDSK/F command every third time you reboot.
-
- COUNT.BAT creates a zero-byte file and uses its name as the
- counter. When you execute COUNT.BAT, it looks for a file named
- BOOT? and branches to a label in the batch file.
-
-
- Material in this document may not be reproduced in any form
- without permission. Written requests for permission should
- be addressed to Chantal Lavelanet, Ziff-Davis Publishing
- Company, One Park Avenue, New York, NY 10016.
-